当前位置: English > 英文面试题

英文面试题

2022-09-24 分类:English 作者:admin 阅读(23)

一:
1, Create 3 threads, and all threads will continuously write logs into the same log file under /tmp/.
2, Every thread writes a log after an *average* 2-second time interval.
3, Each log record includes:

A, a timestamp;

B, thread ID;

C, time past since last log from the same thread.

二:
1, Read keyboard input, X, and create X threads.
2, All threads will continuously write logs into the same log file under /tmp/.
3, Every thread writes a log after an *average* 2-second time interval.
4, Each log record includes: A, a timestamp; B, thread ID; C, time past since last log of the same thread.
5, After receiving 'Clt-C', all threads should exit immediate after printing a final log.
6, The last log record should also include the total numbers of logs the thread has printed.

「三年博客,如果觉得我的文章对您有用,请帮助本站成长」

赞(0) 打赏

支付宝
微信
0

支付宝
微信
标签:

上一篇:

下一篇:

你可能感兴趣

共有 0 - 英文面试题

博客简介

精彩评论

  • admin(6年前 (2020-03-09))

    分别用不同厚度的筏板定义,画图后这设置筏板变截面处理。 http://f.fwxgx.co...

    评:新文章!
  • admin(6年前 (2020-03-09))

    分别用不同厚度的筏板定义,画图后这设置筏板变截面处理。 http://f.fwxgx.co...

    评:新文章!
  • admin(6年前 (2020-03-09))

    新增一个框架图! http://biji.jinli.vip/wp-content/upl...

    评:新文章!
  • 一位WordPress评论者(6年前 (2020-02-13))

    嗨,这是一条评论。 要开始审核、编辑及删除评论,请访问仪表盘的“评论”页面。 评论者头像来自...

    评:世界,您好!